package com.youlin.dto.res;

import com.youlin.mybean.ResMapping;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)
@ResMapping(mappingClass = "com.youlin.entities.BygUndertaker")
public class TakerResDto {

    @ApiModelProperty(value="告别会ID", hidden = true)
    private Integer amId;

    @ApiModelProperty(value="承办人ID")
    private Integer id;

    @ApiModelProperty(value="承办人姓名")
    private String name;

    @ApiModelProperty(value="承办人手机号")
    private String tel;

    @ApiModelProperty(value="承办人性别：0-男、1-女")
    private Integer gender;

    @ApiModelProperty(value="是否删除")
    private Boolean isDel;

    @ApiModelProperty(value="逝者与承办人关系")
    @ResMapping(mappingClass = "com.youlin.entities.BygRelation")
    private RelationResDto relation;

}

